package cn.zero.flowspringbootstater.modular.vo;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * author: lei
 * 绑定审批业务的参数
 * date:2022/6/20 9:48
 **/
@EqualsAndHashCode(callSuper = true)
@Data
@Accessors(chain = true)
public class FlowBindDto extends Additional implements Serializable {

    private static final long serialVersionUID = 9527L;



    /**
     * 审批流程id
     */
    @NotNull(message = "审批流程不能为空")
    private Long flowId;

    /**
     * 发起人id
     */
    @NotNull(message = "发起人id不能为空")
    private String initUserId;

}
